package com.hxzy.service;

import com.hxzy.controller.admin.dict.req.*;
import com.hxzy.controller.admin.dict.resp.DictTypeResp;
import com.hxzy.controller.admin.employee.req.EmployeeExportIdsReq;
import com.hxzy.entity.SysDictType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author admin
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Service
* @createDate 2024-02-21 11:30:41
*/
public interface SysDictTypeService extends IService<SysDictType> {

    /**
     * 分页查询
     * @param req
     * @return
     */
    List<DictTypeResp> search(DictTypeReq req);

    /**
     * 新增数据
     * @param req
     * @return
     */
    boolean addData(DictTypeAddReq req);

    /**
     * 修改数据
     * @param req
     * @return
     */
    boolean updateData(DictTypeEditReq req);

    /**
     * 更改账户状态
     * @param req
     * @return
     */
    boolean changeStatus(DictTypeStatusReq req);

    /**
     * 导出excel
     * @param req
     * @return
     */
    List<DictTypeResp> exportExcel(DictTypeExportIdsReq req);
}
